package com.platform.pojo;

import java.util.Date;

/**
 * UserInfo entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class UserInfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private String loginName;
	private String loginPasswd;
	private String nickname;
	private String realName;
	private String email;
	private String mobile;
	private Date regTime;
	private Date lastLoginTime;
	private String lastLoginIp;
	private Integer groupId;
	private Integer departmentId;
	private Integer professionalId;
	private Integer gradeId;
	private Integer classId;
	private Integer isAudit;
	private Integer score;
	private Integer shareCount;
	private Integer downloadedCount;
	private Integer downloadCount;
	private Integer userScore;

	// Constructors

	/** default constructor */
	public UserInfo() {
	}

	/** minimal constructor */
	public UserInfo(String loginName, String loginPasswd, Integer groupId,
			Integer isAudit, Integer score, Integer shareCount,
			Integer downloadedCount, Integer downloadCount, Integer userScore) {
		this.loginName = loginName;
		this.loginPasswd = loginPasswd;
		this.groupId = groupId;
		this.isAudit = isAudit;
		this.score = score;
		this.shareCount = shareCount;
		this.downloadedCount = downloadedCount;
		this.downloadCount = downloadCount;
		this.userScore = userScore;
	}

	/** full constructor */
	public UserInfo(String loginName, String loginPasswd, String nickname,
			String realName, String email, String mobile, Date regTime,
			Date lastLoginTime, String lastLoginIp, Integer groupId,
			Integer departmentId, Integer professionalId, Integer gradeId,
			Integer classId, Integer isAudit, Integer score,
			Integer shareCount, Integer downloadedCount, Integer downloadCount,
			Integer userScore) {
		this.loginName = loginName;
		this.loginPasswd = loginPasswd;
		this.nickname = nickname;
		this.realName = realName;
		this.email = email;
		this.mobile = mobile;
		this.regTime = regTime;
		this.lastLoginTime = lastLoginTime;
		this.lastLoginIp = lastLoginIp;
		this.groupId = groupId;
		this.departmentId = departmentId;
		this.professionalId = professionalId;
		this.gradeId = gradeId;
		this.classId = classId;
		this.isAudit = isAudit;
		this.score = score;
		this.shareCount = shareCount;
		this.downloadedCount = downloadedCount;
		this.downloadCount = downloadCount;
		this.userScore = userScore;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getLoginName() {
		return this.loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getLoginPasswd() {
		return this.loginPasswd;
	}

	public void setLoginPasswd(String loginPasswd) {
		this.loginPasswd = loginPasswd;
	}

	public String getNickname() {
		return this.nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getRealName() {
		return this.realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public Date getRegTime() {
		return this.regTime;
	}

	public void setRegTime(Date regTime) {
		this.regTime = regTime;
	}

	public Date getLastLoginTime() {
		return this.lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public String getLastLoginIp() {
		return this.lastLoginIp;
	}

	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}

	public Integer getGroupId() {
		return this.groupId;
	}

	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}

	public Integer getDepartmentId() {
		return this.departmentId;
	}

	public void setDepartmentId(Integer departmentId) {
		this.departmentId = departmentId;
	}

	public Integer getProfessionalId() {
		return this.professionalId;
	}

	public void setProfessionalId(Integer professionalId) {
		this.professionalId = professionalId;
	}

	public Integer getGradeId() {
		return this.gradeId;
	}

	public void setGradeId(Integer gradeId) {
		this.gradeId = gradeId;
	}

	public Integer getClassId() {
		return this.classId;
	}

	public void setClassId(Integer classId) {
		this.classId = classId;
	}

	public Integer getIsAudit() {
		return this.isAudit;
	}

	public void setIsAudit(Integer isAudit) {
		this.isAudit = isAudit;
	}

	public Integer getScore() {
		return this.score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public Integer getShareCount() {
		return this.shareCount;
	}

	public void setShareCount(Integer shareCount) {
		this.shareCount = shareCount;
	}

	public Integer getDownloadedCount() {
		return this.downloadedCount;
	}

	public void setDownloadedCount(Integer downloadedCount) {
		this.downloadedCount = downloadedCount;
	}

	public Integer getDownloadCount() {
		return this.downloadCount;
	}

	public void setDownloadCount(Integer downloadCount) {
		this.downloadCount = downloadCount;
	}

	public Integer getUserScore() {
		return this.userScore;
	}

	public void setUserScore(Integer userScore) {
		this.userScore = userScore;
	}

}